package com.enjoyor.soa.traffic.api.service.dubbo.collectms;

import com.alibaba.fastjson.JSONObject;
import com.enjoyor.soa.traffic.api.dto.collectms.AlarmEventDto;
import com.enjoyor.soa.traffic.api.dto.collectms.DevDataDto;
import com.enjoyor.soa.traffic.api.dto.collectms.DevWayDataDto;
import com.enjoyor.soa.traffic.util.pojo.ResultPojo;

import java.util.List;
import java.util.Map;


/**
 * @author wuhao
 * @ClassName: DubboSaveDataToDBService
 * @Description:
 * @email
 * @date 2016年3月14日 上午9:36:39
 */
public interface IDubboSaveDataToDBService {

	ResultPojo saveStatusToDB(String tokne,JSONObject jsonObject);

	ResultPojo saveStatusListToDB(String tokne,List<JSONObject> list);

	ResultPojo saveLaneStatusToDB(String tokne,List<JSONObject> list);

	ResultPojo saveDataToDB(String tokne,String equipmentType, List<JSONObject> dblist);

	ResultPojo saveFiveMinutesDevWayDataToDB(String tokne,List<DevWayDataDto> devWayDataPojos);

	ResultPojo saveFiveMinutesDevDataToDB(String tokne,DevDataDto devDataPojo);

	//规则引擎操作日志
	ResultPojo saveDrlOperate(String tokne,Map<String, Object> map);

	ResultPojo saveAlarmEventToDB(String tokne,AlarmEventDto alarmEventPojo);


}
